.settings-container {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 40rpx;
}

.main-content {
  padding: 20rpx;
}

/* 设置区域 */
.settings-section {
  background: white;
  border-radius: 16rpx;
  padding: 30rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
  
  .section-title {
    font-size: 32rpx;
    font-weight: bold;
    color: #333;
    margin-bottom: 25rpx;
    padding-bottom: 15rpx;
    border-bottom: 2rpx solid #f0f0f0;
  }
  
  .setting-list {
    .setting-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 25rpx 0;
      border-bottom: 1rpx solid #f8f9fa;
      
      &:last-child {
        border-bottom: none;
      }
      
      .setting-info {
        flex: 1;
        margin-right: 30rpx;
        
        .setting-label {
          display: block;
          font-size: 30rpx;
          color: #333;
          margin-bottom: 8rpx;
        }
        
        .setting-desc {
          font-size: 24rpx;
          color: #999;
          line-height: 1.4;
        }
      }
      
      .setting-label {
        font-size: 30rpx;
        color: #333;
        margin-right: 30rpx;
      }
      
      .volume-slider {
        flex: 1;
        margin: 0 30rpx;
      }
      
      .picker-display {
        display: flex;
        align-items: center;
        padding: 15rpx 20rpx;
        background: #f8f9fa;
        border-radius: 12rpx;
        min-width: 100rpx;
        
        text {
          font-size: 28rpx;
          color: #333;
          margin-right: 15rpx;
        }
        
        .arrow-right {
          width: 20rpx;
          height: 20rpx;
          opacity: 0.5;
        }
      }
      
      .arrow-right {
        width: 24rpx;
        height: 24rpx;
        opacity: 0.5;
      }
    }
  }
}

/* 快捷操作区域 */
.action-section {
  display: flex;
  flex-direction: column;
  gap: 20rpx;
  margin-top: 40rpx;
  
  .action-btn {
    width: 100%;
    padding: 30rpx;
    border-radius: 16rpx;
    font-size: 32rpx;
    font-weight: 500;
    border: none;
    
    &.primary {
      background: #5cb85c;
      color: white;
    }
    
    &.secondary {
      background: white;
      color: #666;
      border: 2rpx solid #e0e0e0;
    }
    
    &::after {
      border: none;
    }
    
    &:disabled {
      background: #ccc;
      color: #999;
    }
  }
}

/* 弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40rpx;
}

.modal-content {
  background: white;
  border-radius: 20rpx;
  width: 100%;
  max-width: 600rpx;
  max-height: 70vh;
  overflow: hidden;
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30rpx;
    border-bottom: 1rpx solid #f0f0f0;
    
    .modal-title {
      font-size: 32rpx;
      font-weight: bold;
      color: #333;
    }
    
    .modal-close {
      font-size: 48rpx;
      color: #999;
      line-height: 1;
      padding: 10rpx;
    }
  }
  
  .modal-body {
    padding: 30rpx;
    max-height: 50vh;
    overflow-y: auto;
    
    .ringtone-list {
      .ringtone-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25rpx;
        margin-bottom: 15rpx;
        background: #f8f9fa;
        border-radius: 12rpx;
        border: 2rpx solid transparent;
        
        &.selected {
          border-color: #5cb85c;
          background: #e8f5e8;
        }
        
        .ringtone-name {
          font-size: 28rpx;
          color: #333;
          flex: 1;
        }
        
        .play-btn {
          font-size: 26rpx;
          color: #5cb85c;
          padding: 10rpx 20rpx;
          background: white;
          border: 1rpx solid #5cb85c;
          border-radius: 20rpx;
        }
      }
    }
  }
  
  .modal-footer {
    display: flex;
    gap: 20rpx;
    padding: 30rpx;
    border-top: 1rpx solid #f0f0f0;
    
    .cancel-btn {
      flex: 1;
      padding: 25rpx;
      background: #f5f5f5;
      color: #666;
      border-radius: 12rpx;
      font-size: 30rpx;
      border: none;
      
      &::after {
        border: none;
      }
    }
    
    .confirm-btn {
      flex: 1;
      padding: 25rpx;
      background: #5cb85c;
      color: white;
      border-radius: 12rpx;
      font-size: 30rpx;
      border: none;
      
      &::after {
        border: none;
      }
    }
  }
}

